package ModelLayer;

public class OfferMaterial

{
    
    private double price;
    private int quantity;
    private int orderId;
    private String type;
    private int materialId;
    private String name;
    private int offerMaterialId;
    
    
    public OfferMaterial()
    {
    	
    }
    
    public OfferMaterial(double price, int quantity, int orderId, String type, int materialId, String name, int offerMaterialId)
    {
    	this.offerMaterialId = offerMaterialId;
        this.price = price;
        this.quantity = quantity;
        this.orderId = orderId;
        this.type = type;
        this.materialId = materialId;
        this.name = name;
    }
    
    public void setMaterialPrice(double price)
    {
        this.price = price;
    }
    
    public void setOfferMaterialId(int offerMaterialId)
    {
    	this.offerMaterialId = offerMaterialId;
    }
    public void setMaterialQuantity(int quantity)
    {
        this.quantity = quantity;
    }
    
    public void setMaterialName(String name)
    {
    	this.name = name;
    }
    
    public void setMaterialType(String type)
    {
    	this.type = type;
    }
    
   
    
    public double getMaterialPrice()
    {
        return price;
    }
    
    public int getMaterialQuantity()
    {
        return quantity;
    }
    
    public int getMaterialId()
    {
    	return materialId;
    }
    
    public String getMaterialType()
    {
    	return type;
    }
    
    public int getOfferMaterialId()
    {
    	return offerMaterialId;
    }
    public int getOfferId()
    {
    	return orderId;
    }
    
    public String getMaterialName()
    {
    	return name;
    }
    public void setOfferId(int orderId)
    {
    	this.orderId = orderId;
    }
    public void setMaterialId(int materialId)
    {
    	this.materialId = materialId;
    }
    
    
    
}
